/**
 * Copyright (c) 2010-2011 Pierre Labatut
 *
 * This file is part of Space-Chronicles project.
 *
 * Space-Chronicles is free software: you can redistribute it and/or modify it
 * under the terms of its license which may be found in the accompanying
 * LICENSE file or <http://code.google.com/p/space-chronicles/>.
 */
package space.app.skyview;

/**
 *
 * @author Pierre
 */
public class TextureMessage {

    
    public enum Kind {xn,xp,yn,yp,zn,zp} ;
    final Kind kind;
    final byte[] texture;

    public TextureMessage(Kind kind, byte[] texture) {
        this.kind = kind;
        this.texture = texture;
    }

    @Override
    public String toString() {
        return "Texture number " + kind + " uploaded, "+texture.length+" bytes";
    }

}
